package com.base.service.impl;

import com.base.mapper.voipmapper.RechargeablecardsGiftMapper;
import com.base.po.voip.RechargeablecardsGift;
import com.base.po.voip.RechargeablecardsGiftExample;
import com.base.service.RechargeablecardsGiftService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("rechargeablecardsGiftService")
public class RechargeablecardsGiftServiceImpl implements RechargeablecardsGiftService {
	
	@Autowired
	private RechargeablecardsGiftMapper rechargeablecardsGiftMapper;


	@Override
	public int countByExample(RechargeablecardsGiftExample example) {
		return rechargeablecardsGiftMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(RechargeablecardsGiftExample example) {
		return rechargeablecardsGiftMapper.deleteByExample(example);
	}

	@Override
	public int insert(RechargeablecardsGift record) {
		return rechargeablecardsGiftMapper.insert(record);
	}

	@Override
	public int insertSelective(RechargeablecardsGift record) {
		return rechargeablecardsGiftMapper.insertSelective(record);
	}

	@Override
	public List<RechargeablecardsGift> selectByExample(RechargeablecardsGiftExample example) {
		return rechargeablecardsGiftMapper.selectByExample(example);
	}

	@Override
	public RechargeablecardsGift selectByBatch(String batch) {
		return rechargeablecardsGiftMapper.selectByBatch(batch);
	}

	@Override
	public int updateByExampleSelective(RechargeablecardsGift record, RechargeablecardsGiftExample example) {
		return rechargeablecardsGiftMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(RechargeablecardsGift record, RechargeablecardsGiftExample example) {
		return rechargeablecardsGiftMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(RechargeablecardsGift record) {
		return rechargeablecardsGiftMapper.updateByPrimaryKeySelective(record);
	}
}
